<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  <html xmlns="http://www.w3.org/1999/xhtml">
		<head>
			<!-- template designed by Marco Von Ballmoos  -->
			<title>Docs For Class DomSqlIterator</title>
			<link rel="stylesheet" href="../media/stylesheet.css" />
						<script src="../media/lib/classTree.js"></script>
												<script language="javascript" type="text/javascript">
				var imgPlus = new Image();
				var imgMinus = new Image();
				imgPlus.src = "../media/images/plus.png";
				imgMinus.src = "../media/images/minus.png";
				
				function showNode(Node){
							switch(navigator.family){
								case 'nn4':
									// Nav 4.x code fork...
							var oTable = document.layers["span" + Node];
							var oImg = document.layers["img" + Node];
									break;
								case 'ie4':
									// IE 4/5 code fork...
							var oTable = document.all["span" + Node];
							var oImg = document.all["img" + Node];
									break;
								case 'gecko':
									// Standards Compliant code fork...
							var oTable = document.getElementById("span" + Node);
							var oImg = document.getElementById("img" + Node);
									break;
							}
					oImg.src = imgMinus.src;
					oTable.style.display = "block";
				}
				
				function hideNode(Node){
							switch(navigator.family){
								case 'nn4':
									// Nav 4.x code fork...
							var oTable = document.layers["span" + Node];
							var oImg = document.layers["img" + Node];
									break;
								case 'ie4':
									// IE 4/5 code fork...
							var oTable = document.all["span" + Node];
							var oImg = document.all["img" + Node];
									break;
								case 'gecko':
									// Standards Compliant code fork...
							var oTable = document.getElementById("span" + Node);
							var oImg = document.getElementById("img" + Node);
									break;
							}
					oImg.src = imgPlus.src;
					oTable.style.display = "none";
				}
				
				function nodeIsVisible(Node){
							switch(navigator.family){
								case 'nn4':
									// Nav 4.x code fork...
							var oTable = document.layers["span" + Node];
									break;
								case 'ie4':
									// IE 4/5 code fork...
							var oTable = document.all["span" + Node];
									break;
								case 'gecko':
									// Standards Compliant code fork...
							var oTable = document.getElementById("span" + Node);
									break;
							}
					return (oTable && oTable.style.display == "block");
				}
				
				function toggleNodeVisibility(Node){
					if (nodeIsVisible(Node)){
						hideNode(Node);
					}else{
						showNode(Node);
					}
				}
			</script>
					</head>
		<body>
			<div class="page-body">			
<h2 class="class-name"><img src="../media/images/Class_logo.png"
														alt=" Class"
														title=" Class"
														style="vertical-align: middle"> DomSqlIterator</h2>

<a name="sec-description"></a>
<div class="info-box">
	<div class="info-box-title">Description</div>
	<div class="nav-bar">
					<span class="disabled">Description</span> |
							<a href="#sec-descendents">Descendents</a>
			|											<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
						|											<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
						
					</div>
	<div class="info-box-body">
                <p class="implements">
            Implements interfaces:
            <ul>
                <li>Iterator (internal interface)</li><li>Countable (internal interface)</li>            </ul>
        </p>
        		<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">{@code</p>
		<p class="notes">
			Located in <a class="field" href="_libs---DomSql---Iterator---DomSqlIterator.class.php.html">/libs/DomSql/Iterator/DomSqlIterator.class.php</a> (line <span class="field"><a href="../__filesource/fsource_DomBase__libsDomSqlIteratorDomSqlIterator.class.php.html#a36">36</a></span>)
		</p>
		
				
		<pre></pre>
	
			</div>
</div>

	<a name="sec-descendents"></a>
	<div class="info-box">
		<div class="info-box-title">Direct descendents</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
			<span class="disabled">Descendents</span>
			|												<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
								|															<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
								</div>
		<div class="info-box-body">
			<table cellpadding="2" cellspacing="0" class="class-table">
				<tr>
					<th class="class-table-header">Class</th>
					<th class="class-table-header">Description</th>
				</tr>
								<tr>
					<td style="padding-right: 2em; white-space: nowrap">
						<img src="../media/images/Class.png"
								 alt=" class"
								 title=" class"
								 style="vertical-align: center"/>
						<a href="../DomAr/Iterator/DomSqlKeyListIterator.html">DomSqlKeyListIterator</a>
					</td>
					<td>
											Iterator that returns id-s as keys and single data field as value.
										</td>
				</tr>
								<tr>
					<td style="padding-right: 2em; white-space: nowrap">
						<img src="../media/images/Class.png"
								 alt=" class"
								 title=" class"
								 style="vertical-align: center"/>
						<a href="../DomSql/DomSqlQueryIterator.html">DomSqlQueryIterator</a>
					</td>
					<td>
											
										</td>
				</tr>
							</table>
		</div>
	</div>


	<a name="sec-var-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Variable Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
							<a href="#sec-descendents">Descendants</a> |
						<span class="disabled">Vars</span> (<a href="#sec-vars">details</a>)
							| 
									<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
								</div>
		<div class="info-box-body">
			<div class="var-summary">
																																																																																																<div class="var-title">
					<img src="../media/images/Variable.png" alt=" " />
					<span class="var-type">Array</span>
					<a href="#$columnIndex" title="details" class="var-name">$columnIndex</a>
				</div>
																<div class="var-title">
					<img src="../media/images/Variable.png" alt=" " />
					<span class="var-type">String</span>
					<a href="#$connectionAlias" title="details" class="var-name">$connectionAlias</a>
				</div>
																<div class="var-title">
					<img src="../media/images/Variable.png" alt=" " />
					<span class="var-type">Mixed</span>
					<a href="#$current" title="details" class="var-name">$current</a>
				</div>
																<div class="var-title">
					<img src="../media/images/Variable.png" alt=" " />
					<span class="var-type">Mixed</span>
					<a href="#$currentKey" title="details" class="var-name">$currentKey</a>
				</div>
																<div class="var-title">
					<img src="../media/images/Variable.png" alt=" " />
					<span class="var-type">Int</span>
					<a href="#$fetchType" title="details" class="var-name">$fetchType</a>
				</div>
																<div class="var-title">
					<img src="../media/images/Variable.png" alt=" " />
					<span class="var-type">Int</span>
					<a href="#$foundRows" title="details" class="var-name">$foundRows</a>
				</div>
																<div class="var-title">
					<img src="../media/images/Variable.png" alt=" " />
					<span class="var-type">String</span>
					<a href="#$indexColumnName" title="details" class="var-name">$indexColumnName</a>
				</div>
																<div class="var-title">
					<img src="../media/images/Variable.png" alt=" " />
					<span class="var-type">String</span>
					<a href="#$query" title="details" class="var-name">$query</a>
				</div>
																<div class="var-title">
					<img src="../media/images/Variable.png" alt=" " />
					<span class="var-type">Resource</span>
					<a href="#$resource" title="details" class="var-name">$resource</a>
				</div>
																<div class="var-title">
					<img src="../media/images/Variable.png" alt=" " />
					<span class="var-type">String</span>
					<a href="#$valueColumnName" title="details" class="var-name">$valueColumnName</a>
				</div>
											</div>
		</div>
	</div>

	<a name="sec-method-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Method Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
							<a href="#sec-descendents">Descendants</a> |
																		<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
				 
				|
						<span class="disabled">Methods</span> (<a href="#sec-methods">details</a>)
		</div>
		<div class="info-box-body">			
			<div class="method-summary">
																											
				<div class="method-definition">
					<img src="../media/images/StaticMethod.png" alt=" "/>
					static 						<span class="method-result"><a href="../DomSql/DomSqlIterator.html">DomSqlIterator</a></span>
										<a href="#c" title="details" class="method-name">c</a>
											(<span class="var-type">String</span>&nbsp;<span class="var-name">$query</span>, [<span class="var-type">String</span>&nbsp;<span class="var-name">$alias</span> = <span class="var-default">DomSql::DEFAULT_ALIAS</span>])
									</div>
																																																																																																																																											
				<div class="method-definition">
					<img src="../media/images/Constructor.png" alt=" "/>
											<span class="method-result">DomSqlIterator</span>
										<a href="#__construct" title="details" class="method-name">__construct</a>
											(<span class="var-type">String</span>&nbsp;<span class="var-name">$query</span>, [<span class="var-type">String</span>&nbsp;<span class="var-name">$alias</span> = <span class="var-default">DomSql::DEFAULT_ALIAS</span>])
									</div>
															
				<div class="method-definition">
					<img src="../media/images/Destructor.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#__destruct" title="details" class="method-name">__destruct</a>
										()
									</div>
																							
				<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#count" title="details" class="method-name">count</a>
										()
									</div>
															
				<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#current" title="details" class="method-name">current</a>
										()
									</div>
															
				<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#execute" title="details" class="method-name">execute</a>
										()
									</div>
															
				<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">Int</span>
										<a href="#foundRows" title="details" class="method-name">foundRows</a>
										()
									</div>
															
				<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">Array</span>
										<a href="#getColumnIndex" title="details" class="method-name">getColumnIndex</a>
										()
									</div>
															
				<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#key" title="details" class="method-name">key</a>
										()
									</div>
															
				<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#next" title="details" class="method-name">next</a>
										()
									</div>
															
				<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#parseCurrent" title="details" class="method-name">parseCurrent</a>
										()
									</div>
															
				<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#rewind" title="details" class="method-name">rewind</a>
										()
									</div>
															
				<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result"><a href="../DomSql/DomSqlIterator.html">DomSqlIterator</a></span>
										<a href="#setFetchType" title="details" class="method-name">setFetchType</a>
											(<span class="var-type">String</span>&nbsp;<span class="var-name">$const</span>)
									</div>
															
				<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result"><a href="../DomSql/DomSqlIterator.html">DomSqlIterator</a></span>
										<a href="#setIndexColumnName" title="details" class="method-name">setIndexColumnName</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">$indexColumnName</span>)
									</div>
															
				<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result"><a href="../DomSql/DomSqlIterator.html">DomSqlIterator</a></span>
										<a href="#setValueColumnName" title="details" class="method-name">setValueColumnName</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">$valueColumnName</span>)
									</div>
															
				<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">Array</span>
										<a href="#toArray" title="details" class="method-name">toArray</a>
											([<span class="var-type"></span>&nbsp;<span class="var-name">$baseArray</span> = <span class="var-default">array()</span>])
									</div>
															
				<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#valid" title="details" class="method-name">valid</a>
										()
									</div>
															
				<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">Mixed</span>
										<a href="#__get" title="details" class="method-name">__get</a>
											(<span class="var-type">String</span>&nbsp;<span class="var-name">$var</span>)
									</div>
											</div>
		</div>
	</div>		

	<a name="sec-vars"></a>
	<div class="info-box">
		<div class="info-box-title">Variables</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
							<a href="#sec-descendents">Descendents</a> |
										<a href="#sec-var-summary">Vars</a> (<span class="disabled">details</span>)
						
			
										| 
									<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
					</div>
		<div class="info-box-body">
			
<a name="var$columnIndex" id="$columnIndex"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<img src="../media/images/Variable.png" />
		<span class="var-title">
			<span class="var-type">Array</span>
			<span class="var-name">$columnIndex</span>
						(line <span class="line-number"><a href="../__filesource/fsource_DomBase__libsDomSqlIteratorDomSqlIterator.class.php.html#a69">69</a></span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Variable that caches column index if it asked. See getColumnIndex() method.</p>
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	
		
		

</div>
<a name="var$connectionAlias" id="$connectionAlias"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<img src="../media/images/Variable.png" />
		<span class="var-title">
			<span class="var-type">String</span>
			<span class="var-name">$connectionAlias</span>
						(line <span class="line-number"><a href="../__filesource/fsource_DomBase__libsDomSqlIteratorDomSqlIterator.class.php.html#a51">51</a></span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	
		
		

</div>
<a name="var$current" id="$current"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<img src="../media/images/Variable.png" />
		<span class="var-title">
			<span class="var-type">Mixed</span>
			<span class="var-name">$current</span>
						(line <span class="line-number"><a href="../__filesource/fsource_DomBase__libsDomSqlIteratorDomSqlIterator.class.php.html#a93">93</a></span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Iteration variable. Current value.</p>
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	
		
		

</div>
<a name="var$currentKey" id="$currentKey"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<img src="../media/images/Variable.png" />
		<span class="var-title">
			<span class="var-type">Mixed</span>
			<span class="var-name">$currentKey</span>
						(line <span class="line-number"><a href="../__filesource/fsource_DomBase__libsDomSqlIteratorDomSqlIterator.class.php.html#a87">87</a></span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Iteration variable. Current item key. This can be number or string. It depends on property named &quot;indexColumnName&quot;</p>
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	
		
		

</div>
<a name="var$fetchType" id="$fetchType"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<img src="../media/images/Variable.png" />
		<span class="var-title">
			<span class="var-type">Int</span>
			<span class="var-name">$fetchType</span>
			 = <span class="var-default"> MYSQL_ASSOC</span>			(line <span class="line-number"><a href="../__filesource/fsource_DomBase__libsDomSqlIteratorDomSqlIterator.class.php.html#a57">57</a></span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">How results are handled</p>
	<ul class="tags">
				<li><span class="field">var:</span> MYSQL_ASSOC|MYSQL_NUM|MYSQL_BOTH</li>
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	
		
		

</div>
<a name="var$foundRows" id="$foundRows"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<img src="../media/images/Variable.png" />
		<span class="var-title">
			<span class="var-type">Int</span>
			<span class="var-name">$foundRows</span>
						(line <span class="line-number"><a href="../__filesource/fsource_DomBase__libsDomSqlIteratorDomSqlIterator.class.php.html#a63">63</a></span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Nr of rows in result. This variable used to cache the result.</p>
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	
		
		

</div>
<a name="var$indexColumnName" id="$indexColumnName"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<img src="../media/images/Variable.png" />
		<span class="var-title">
			<span class="var-type">String</span>
			<span class="var-name">$indexColumnName</span>
			 = <span class="var-default"> NULL</span>			(line <span class="line-number"><a href="../__filesource/fsource_DomBase__libsDomSqlIteratorDomSqlIterator.class.php.html#a75">75</a></span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">This column value will be returned as key.</p>
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	
		
		

</div>
<a name="var$query" id="$query"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<img src="../media/images/Variable.png" />
		<span class="var-title">
			<span class="var-type">String</span>
			<span class="var-name">$query</span>
						(line <span class="line-number"><a href="../__filesource/fsource_DomBase__libsDomSqlIteratorDomSqlIterator.class.php.html#a43">43</a></span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Query that will be sent to database</p>
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	
		
		

</div>
<a name="var$resource" id="$resource"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<img src="../media/images/Variable.png" />
		<span class="var-title">
			<span class="var-type">Resource</span>
			<span class="var-name">$resource</span>
						(line <span class="line-number"><a href="../__filesource/fsource_DomBase__libsDomSqlIteratorDomSqlIterator.class.php.html#a47">47</a></span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	
		
		

</div>
<a name="var$valueColumnName" id="$valueColumnName"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<img src="../media/images/Variable.png" />
		<span class="var-title">
			<span class="var-type">String</span>
			<span class="var-name">$valueColumnName</span>
			 = <span class="var-default"> NULL</span>			(line <span class="line-number"><a href="../__filesource/fsource_DomBase__libsDomSqlIteratorDomSqlIterator.class.php.html#a81">81</a></span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">This column value will be returned as value. If not set, whole set will be returned (Usually expected)</p>
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	
		
		

</div>
						
		</div>
	</div>
	
	<a name="sec-methods"></a>
	<div class="info-box">
		<div class="info-box-title">Methods</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
							<a href="#sec-descendents">Descendents</a> |
															<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
																	<a href="#sec-method-summary">Methods</a> (<span class="disabled">details</span>)
						
		</div>
		<div class="info-box-body">
			<A NAME='method_detail'></A>
<a name="methodc" id="c"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../media/images/StaticMethod.png" />
		<span class="method-title">static c</span> (line <span class="line-number"><a href="../__filesource/fsource_DomBase__libsDomSqlIteratorDomSqlIterator.class.php.html#a100">100</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		static <span class="method-result"><a href="../DomSql/DomSqlIterator.html">DomSqlIterator</a></span>
		<span class="method-name">
			c
		</span>
					(<span class="var-type">String</span>&nbsp;<span class="var-name">$query</span>, [<span class="var-type">String</span>&nbsp;<span class="var-name">$alias</span> = <span class="var-default">DomSql::DEFAULT_ALIAS</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">String</span>
				<span class="var-name">$query</span>			</li>
					<li>
				<span class="var-type">String</span>
				<span class="var-name">$alias</span>			</li>
				</ul>
		
			
			<hr class="separator" />
		<div class="notes">Redefined in descendants as:</div>
		<ul class="redefinitions">
					<li>
				<a href="../DomAr/Iterator/DomSqlKeyListIterator.html#methodc">DomSqlKeyListIterator::c()</a>
							</li>
					<li>
				<a href="../DomSql/DomSqlQueryIterator.html#methodc">DomSqlQueryIterator::c()</a>
							</li>
					<li>
				<a href="../DomAr/Iterator/DomArDataIterator.html#methodc">DomArDataIterator::c()</a>
							</li>
					<li>
				<a href="../DomAr/Iterator/DomArIterator.html#methodc">DomArIterator::c()</a>
							</li>
				</ul>
	</div>
<a name="method__construct" id="__construct"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../media/images/Constructor.png" />
		<span class="method-title">Constructor __construct</span> (line <span class="line-number"><a href="../__filesource/fsource_DomBase__libsDomSqlIteratorDomSqlIterator.class.php.html#a107">107</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">DomSqlIterator</span>
		<span class="method-name">
			__construct
		</span>
					(<span class="var-type">String</span>&nbsp;<span class="var-name">$query</span>, [<span class="var-type">String</span>&nbsp;<span class="var-name">$alias</span> = <span class="var-default">DomSql::DEFAULT_ALIAS</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">String</span>
				<span class="var-name">$query</span>			</li>
					<li>
				<span class="var-type">String</span>
				<span class="var-name">$alias</span>			</li>
				</ul>
		
			
			<hr class="separator" />
		<div class="notes">Redefined in descendants as:</div>
		<ul class="redefinitions">
					<li>
				<a href="../DomAr/Iterator/DomSqlKeyListIterator.html#method__construct">DomSqlKeyListIterator::__construct()</a>
							</li>
					<li>
				<a href="../DomSql/DomSqlQueryIterator.html#method__construct">DomSqlQueryIterator::__construct()</a>
							</li>
					<li>
				<a href="../DomAr/Iterator/DomArDataIterator.html#method__construct">DomArDataIterator::__construct()</a>
							</li>
					<li>
				<a href="../DomAr/Iterator/DomArIterator.html#method__construct">DomArIterator::__construct()</a>
								: Constructor
							</li>
				</ul>
	</div>
<a name="method__destruct" id="__destruct"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../media/images/Destructor.png" />
		<span class="method-title">Destructor __destruct</span> (line <span class="line-number"><a href="../__filesource/fsource_DomBase__libsDomSqlIteratorDomSqlIterator.class.php.html#a115">115</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Destructor. Frees memory.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			__destruct
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodcount" id="count"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">count</span> (line <span class="line-number"><a href="../__filesource/fsource_DomBase__libsDomSqlIteratorDomSqlIterator.class.php.html#a273">273</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			count
		</span>
				()
			</div>
	
		
				<hr class="separator" />
		<div class="notes">Implementation of:</div>
			<dl>
			<dt>Countable::count</dt>
					</dl>
			
	</div>
<a name="methodcurrent" id="current"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">current</span> (line <span class="line-number"><a href="../__filesource/fsource_DomBase__libsDomSqlIteratorDomSqlIterator.class.php.html#a228">228</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			current
		</span>
				()
			</div>
	
		
				<hr class="separator" />
		<div class="notes">Implementation of:</div>
			<dl>
			<dt>Iterator::current</dt>
					</dl>
			
	</div>
<a name="methodexecute" id="execute"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">execute</span> (line <span class="line-number"><a href="../__filesource/fsource_DomBase__libsDomSqlIteratorDomSqlIterator.class.php.html#a210">210</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Executes query.</p>
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			execute
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodfoundRows" id="foundRows"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">foundRows</span> (line <span class="line-number"><a href="../__filesource/fsource_DomBase__libsDomSqlIteratorDomSqlIterator.class.php.html#a133">133</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Returns total nr of found rows. Select query must be commited with SQL_CALC_FOUND_ROWS flag. (SELECT SQL_CALC_FOUND_ROWS * FROM table WHERE 1=1)</p>
<p class="description"><p>If SQL_CALC_FOUND_ROWS is not added then this method works like count()</p></p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">Int</span>
		<span class="method-name">
			foundRows
		</span>
				()
			</div>
	
		
			
			<hr class="separator" />
		<div class="notes">Redefined in descendants as:</div>
		<ul class="redefinitions">
					<li>
				<a href="../DomSql/DomSqlQueryIterator.html#methodfoundRows">DomSqlQueryIterator::foundRows()</a>
								: Returns nr of possible results for this query without LIMIT clause.
							</li>
				</ul>
	</div>
<a name="methodgetColumnIndex" id="getColumnIndex"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">getColumnIndex</span> (line <span class="line-number"><a href="../__filesource/fsource_DomBase__libsDomSqlIteratorDomSqlIterator.class.php.html#a176">176</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Return list of column names and table aliases. This is useful for queryies that return result as a numberical list.</p>
<p class="description"><p>Helps to determine from which table each value came.</p><p>NB! Works only if fetchType is  MYSQL_NUM</p><p>Result format: array[(int)offset] = array('table' =&gt; String, 'column' =&gt; String)</p></p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">Array</span>
		<span class="method-name">
			getColumnIndex
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodkey" id="key"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">key</span> (line <span class="line-number"><a href="../__filesource/fsource_DomBase__libsDomSqlIteratorDomSqlIterator.class.php.html#a232">232</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			key
		</span>
				()
			</div>
	
		
				<hr class="separator" />
		<div class="notes">Implementation of:</div>
			<dl>
			<dt>Iterator::key</dt>
					</dl>
			
	</div>
<a name="methodnext" id="next"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">next</span> (line <span class="line-number"><a href="../__filesource/fsource_DomBase__libsDomSqlIteratorDomSqlIterator.class.php.html#a236">236</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			next
		</span>
				()
			</div>
	
		
				<hr class="separator" />
		<div class="notes">Implementation of:</div>
			<dl>
			<dt>Iterator::next</dt>
					</dl>
			
			<hr class="separator" />
		<div class="notes">Redefined in descendants as:</div>
		<ul class="redefinitions">
					<li>
				<a href="../DomAr/Iterator/DomSqlKeyListIterator.html#methodnext">DomSqlKeyListIterator::next()</a>
							</li>
					<li>
				<a href="../DomAr/Iterator/DomArIterator.html#methodnext">DomArIterator::next()</a>
							</li>
				</ul>
	</div>
<a name="methodparseCurrent" id="parseCurrent"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">parseCurrent</span> (line <span class="line-number"><a href="../__filesource/fsource_DomBase__libsDomSqlIteratorDomSqlIterator.class.php.html#a192">192</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Parses current  Use this method if you want to make changes to current item every time it is loaded.</p>
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			parseCurrent
		</span>
				()
			</div>
	
		
			
			<hr class="separator" />
		<div class="notes">Redefined in descendants as:</div>
		<ul class="redefinitions">
					<li>
				<a href="../DomAr/Iterator/DomSqlKeyListIterator.html#methodparseCurrent">DomSqlKeyListIterator::parseCurrent()</a>
							</li>
					<li>
				<a href="../DomAr/Iterator/DomArIterator.html#methodparseCurrent">DomArIterator::parseCurrent()</a>
							</li>
				</ul>
	</div>
<a name="methodrewind" id="rewind"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">rewind</span> (line <span class="line-number"><a href="../__filesource/fsource_DomBase__libsDomSqlIteratorDomSqlIterator.class.php.html#a218">218</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			rewind
		</span>
				()
			</div>
	
		
				<hr class="separator" />
		<div class="notes">Implementation of:</div>
			<dl>
			<dt>Iterator::rewind</dt>
					</dl>
			
			<hr class="separator" />
		<div class="notes">Redefined in descendants as:</div>
		<ul class="redefinitions">
					<li>
				<a href="../DomAr/Iterator/DomArIterator.html#methodrewind">DomArIterator::rewind()</a>
							</li>
				</ul>
	</div>
<a name="methodsetFetchType" id="setFetchType"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">setFetchType</span> (line <span class="line-number"><a href="../__filesource/fsource_DomBase__libsDomSqlIteratorDomSqlIterator.class.php.html#a162">162</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Set fetch type. Possible values: MYSQL_NUM, MYSQL_ASSOC, MYSQL_BOTH</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result"><a href="../DomSql/DomSqlIterator.html">DomSqlIterator</a></span>
		<span class="method-name">
			setFetchType
		</span>
					(<span class="var-type">String</span>&nbsp;<span class="var-name">$const</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">String</span>
				<span class="var-name">$const</span>			</li>
				</ul>
		
			
	</div>
<a name="methodsetIndexColumnName" id="setIndexColumnName"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">setIndexColumnName</span> (line <span class="line-number"><a href="../__filesource/fsource_DomBase__libsDomSqlIteratorDomSqlIterator.class.php.html#a143">143</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">This column value is returned as key. (Key's don't have to be unique, you will still get all results!)</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result"><a href="../DomSql/DomSqlIterator.html">DomSqlIterator</a></span>
		<span class="method-name">
			setIndexColumnName
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$indexColumnName</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$indexColumnName</span>			</li>
				</ul>
		
			
	</div>
<a name="methodsetValueColumnName" id="setValueColumnName"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">setValueColumnName</span> (line <span class="line-number"><a href="../__filesource/fsource_DomBase__libsDomSqlIteratorDomSqlIterator.class.php.html#a152">152</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">See valueColumnName</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result"><a href="../DomSql/DomSqlIterator.html">DomSqlIterator</a></span>
		<span class="method-name">
			setValueColumnName
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$valueColumnName</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$valueColumnName</span>			</li>
				</ul>
		
			
	</div>
<a name="methodtoArray" id="toArray"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">toArray</span> (line <span class="line-number"><a href="../__filesource/fsource_DomBase__libsDomSqlIteratorDomSqlIterator.class.php.html#a201">201</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Returns iterator elements as array.</p>
<p class="description"><p>Pointer is set to end.</p></p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">Array</span>
		<span class="method-name">
			toArray
		</span>
					([<span class="var-type"></span>&nbsp;<span class="var-name">$baseArray</span> = <span class="var-default">array()</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">Array</span>
				<span class="var-name">$baseArray</span><span class="var-description">: Array to which elements will be added</span>			</li>
				</ul>
		
			
			<hr class="separator" />
		<div class="notes">Redefined in descendants as:</div>
		<ul class="redefinitions">
					<li>
				<a href="../DomAr/Iterator/DomSqlKeyListIterator.html#methodtoArray">DomSqlKeyListIterator::toArray()</a>
								: Returns iterator elements as array.
							</li>
				</ul>
	</div>
<a name="methodvalid" id="valid"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">valid</span> (line <span class="line-number"><a href="../__filesource/fsource_DomBase__libsDomSqlIteratorDomSqlIterator.class.php.html#a265">265</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			valid
		</span>
				()
			</div>
	
		
				<hr class="separator" />
		<div class="notes">Implementation of:</div>
			<dl>
			<dt>Iterator::valid</dt>
					</dl>
			
			<hr class="separator" />
		<div class="notes">Redefined in descendants as:</div>
		<ul class="redefinitions">
					<li>
				<a href="../DomAr/Iterator/DomSqlKeyListIterator.html#methodvalid">DomSqlKeyListIterator::valid()</a>
							</li>
				</ul>
	</div>
<a name="method__get" id="__get"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">__get</span> (line <span class="line-number"><a href="../__filesource/fsource_DomBase__libsDomSqlIteratorDomSqlIterator.class.php.html#a125">125</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Allows acccess to all properties used by iterator</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">Mixed</span>
		<span class="method-name">
			__get
		</span>
					(<span class="var-type">String</span>&nbsp;<span class="var-name">$var</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">String</span>
				<span class="var-name">$var</span>			</li>
				</ul>
		
			
	</div>
						
		</div>
	</div>

	
	<p class="notes" id="credit">
		Documentation generated on Fri, 24 Sep 2010 21:14:16 +0000 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.1</a>
	</p>
	</div></body>
</html>